package com.ql.service.sbglService;

import com.ql.pojo.sheBeiGuanLi.Buy;
import com.ql.utils.PageHelper;

import java.util.List;

public interface buyService {
    //获取购买表信息
    List<Buy> getAllBuy(PageHelper ph,String mohuName);

    //单个删除
    boolean removeCGGL(int bId);
    //批量删除
    boolean deleteBatch(List<Integer> list);
    //获取id查看详情信息
    Buy getGMById(String bId);
    //新增购买信息
    boolean addNewGM(Buy buy);
    //修改库存信息
    boolean updateGM(Buy buy);
}
